{extend name="public/base" /}
{block name="pjax_container"}
<?php
    $titleTypeName = '编辑';
?>
<section class="content-header">
    <h1>{$titleTypeName}</h1>
    <ol class="breadcrumb">
        <li class="active"><i class="fa fa-dashboard"></i> {$titleTypeName}</li>
    </ol>
</section>
<section class="content">
    <div class="row">
        <div class="col-md-12">
            <form class="form-horizontal" method="POST" action="/{$Think.MODULE_NAME}/{$Think.CONTROLLER_NAME}/{$Think.ACTION_NAME}" onsubmit="return false" >
                <div class="nav-tabs-custom">
                    <ul class="nav nav-tabs">
                        <li class="pull-right"><a href="javascript:history.back(-1)" class="btn btn-sm" style="padding:10px 2px;"><i class="fa fa-list"></i> 返回</a></li>
                    </ul>
                    <div class="tab-content">
                        <div class="tab-pane active" id="tab1">

                            <div class="form-group">
                                <label class="col-sm-2 control-label">选择企业账号</label>
                                <div class="col-sm-7">
                                    <select class="form-control select2" name="com_id" style="width:100%;">
                                        <option value="0">企业账号</option>
                                        {foreach name="$com_list" item="vo" key="ko"}
                                        <option value="{$vo['id']}">{$vo['account']}</option>
                                        {/foreach}
                                    </select>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">收费 元</label>
                                <div class="col-sm-7">
                                    <input class="form-control" type="number" name="price" value="" placeholder="">
                                </div>
                            </div>

                        </div>
                    </div>

                    <div class="box-footer">
                        <div class="col-sm-2"></div>
                        <div class="col-sm-7">
                            <div class="btn-group pull-right">
                                <button type="submit" class="btn btn-info pull-right submits" data-loading-text="&lt;i class='fa fa-spinner fa-spin '&gt;&lt;/i&gt; 提交">提交</button>
                            </div>
                        </div>
                    </div>

                </div>
            </form>
        </div>
    </div>
</section>
<script type="application/javascript">
    $(document).ready(function () {
        /*ajax页面加载icheck，有该控件的页面才需要*/
        $(".select2").select2({language:"zh-CN"});
    })
</script>
{/block}
